package com.kgis.fm.flex.model.term
{
	import com.kgis.fm.flex.model.LifecycleModel;

	/**
	 * 
	 * @author Simon He
	 * 
	 */
	[Bindable]
	[RemoteClass(alias="com.kgis.fm.platform.model.term.LegendEntry")]
	public class LegendEntry extends LifecycleModel
	{
		public function LegendEntry()
		{
		}
		//图层id
		private var _leno:int;
		private var _name:String;
		private var _cno:int;
		private var _fno:int;
		//styrlrule的id
		private var _srno:int;
		//labelrule的id
		private var _lrno:int;
		private var _toolTip:String;
		private var _autoLabelLeno:int;
		private var _bautoLabel:Boolean;
		private var _layerType:int;
		/**
		 * 图例项编号
		 */
		public function get leno():int {
			return _leno;
		}
		
		public function set leno(leno:int):void {
			this._leno = leno;
		}
		/**
		 * 图例项名称
		 */
		public function get name():String {
			return _name;
		}
		
		public function set name(name:String):void {
			this._name = name;
		}
		
		/**
		 * 组件编号
		 */
		public function get cno():int {
			return _cno;
		}
		
		public function set cno(cno:int):void {
			this._cno = cno;
		}
		/**
		 * 设备编号
		 */
		public function get fno():int {
			return _fno;
		}
		
		public function set fno(fno:int):void {
			this._fno = fno;
		}
		
		/**
		 * STYLE RULE编号
		 */
		public function get srno():int {
			return _srno;
		}
		
		public function set srno(srno:int):void {
			this._srno = srno;
		}
		
		/**
		 * LABEL RULE编号
		 */
		public function get lrno():int {
			return _lrno;
		}
		
		public function set lrno(lrno:int):void {
			this._lrno = lrno;
		}
		
		/**
		 * Tooltip内容
		 */
		public function get toolTip():String {
			return _toolTip;
		}
		
		public function set toolTip(toolTip:String):void {
			this._toolTip = toolTip;
		}
		
		/**
		 * 自动标注图层编号
		 */
		public function get autoLabelLeno():int {
			return _autoLabelLeno;
		}
		
		public function set autoLabelLeno(autoLabelLeno:int):void {
			this._autoLabelLeno = autoLabelLeno;
		}
		
	
		public function get layerType():int
		{
			return _layerType;
		}

		public function set layerType(value:int):void
		{
			_layerType = value;
		}

		/**
		 * 是否自动标注
		 */
		public function get bautoLabel():Boolean
		{
			return _bautoLabel;
		}

		/**
		 * @private
		 */
		public function set bautoLabel(value:Boolean):void
		{
			_bautoLabel = value;
		}


	}
}